package com.rui.cn.provider.service.system;


import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.baomidou.mybatisplus.service.IService;
import com.rui.cn.entity.system.SysUser;

import java.util.List;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author zhang123
 * @since 2018-01-14
 */
public interface SysUserService extends IService<SysUser> {
    List<SysUser> selectUserList(Pagination page, Integer state);

    SysUser selectByUsername(String username);

    Page<SysUser> userList(Page pagination, String search, String sortBy, String order);

    SysUser getUserInfo(Integer id);

    int insertMyUser(SysUser user);
}
